﻿<%@ Control Language="C#" ClassName="MenuFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataParentId" runat="server" Text="Parent Id:" AssociatedControlID="dataParentId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataParentId" Text='<%# Bind("ParentId") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataParentId" runat="server" Display="Dynamic" ControlToValidate="dataParentId" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataParentId" runat="server" Display="Dynamic" ControlToValidate="dataParentId" ErrorMessage="Invalid value" MaximumValue="9223372036854775807" MinimumValue="-9223372036854775808" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataOriginalId" runat="server" Text="Original Id:" AssociatedControlID="dataOriginalId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataOriginalId" Text='<%# Bind("OriginalId") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataOriginalId" runat="server" Display="Dynamic" ControlToValidate="dataOriginalId" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataOriginalId" runat="server" Display="Dynamic" ControlToValidate="dataOriginalId" ErrorMessage="Invalid value" MaximumValue="9223372036854775807" MinimumValue="-9223372036854775808" Type="Double"></asp:RangeValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataTitle" runat="server" Text="Title:" AssociatedControlID="dataTitle" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataTitle" Text='<%# Bind("Title") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataAlias" runat="server" Text="Alias:" AssociatedControlID="dataAlias" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataAlias" Text='<%# Bind("Alias") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataMenuType" runat="server" Text="Menu Type:" AssociatedControlID="dataMenuType" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataMenuType" Text='<%# Bind("MenuType") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataLink" runat="server" Text="Link:" AssociatedControlID="dataLink" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataLink" Text='<%# Bind("Link") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataLanguage" runat="server" Text="Language:" AssociatedControlID="dataLanguage" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataLanguage" Text='<%# Bind("Language") %>' MaxLength="20"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataLanguage" runat="server" Display="Dynamic" ControlToValidate="dataLanguage" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsDisabled" runat="server" Text="Is Disabled:" AssociatedControlID="dataIsDisabled" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsDisabled" SelectedValue='<%# Bind("IsDisabled") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem><asp:ListItem Value="" Text="Pick ..." Enabled="False"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsRemoved" runat="server" Text="Is Removed:" AssociatedControlID="dataIsRemoved" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsRemoved" SelectedValue='<%# Bind("IsRemoved") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem><asp:ListItem Value="" Text="Pick ..." Enabled="False"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataIsProduct" runat="server" Text="Is Product:" AssociatedControlID="dataIsProduct" /></td>
        <td>
					<asp:RadioButtonList runat="server" ID="dataIsProduct" SelectedValue='<%# Bind("IsProduct") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem><asp:ListItem Value="" Text="Pick ..." Enabled="False"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataDateCreate" runat="server" Text="Date Create:" AssociatedControlID="dataDateCreate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataDateCreate" Text='<%# Bind("DateCreate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataDateCreate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataDateCreate" runat="server" Display="Dynamic" ControlToValidate="dataDateCreate" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserCreate" runat="server" Text="User Create:" AssociatedControlID="dataUserCreate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUserCreate" Text='<%# Bind("UserCreate") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataDateModify" runat="server" Text="Date Modify:" AssociatedControlID="dataDateModify" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataDateModify" Text='<%# Bind("DateModify", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataDateModify" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataDateModify" runat="server" Display="Dynamic" ControlToValidate="dataDateModify" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataUserModify" runat="server" Text="User Modify:" AssociatedControlID="dataUserModify" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataUserModify" Text='<%# Bind("UserModify") %>' MaxLength="200"></asp:TextBox>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


